//
//  UpdateProfile_VC.h
//  KaChing_App
//
//  Created by Jordan Robert Yust on 3/6/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface UpdateProfile_VC : UIViewController <UITextFieldDelegate>
{
	IBOutlet UITextField *userID_TextField;		// The profile's userID as a TextField
	IBOutlet UITextField *remoteKey_TextField;	// The profile's remote key as a TextField
	IBOutlet UITextField *profileName_TextField;	// The profile's profile name as a TextField

	NSMutableDictionary *userDictionary;	// The dictionary containing all user profiles
	NSInteger *indexToUpdate;		// The index in the dictionary corresponding to the profile to be edited
	
	UITableView *settings_TableView;	// The view controller of the Settings TableView
}

/*** PROPERTIES ***/
@property(nonatomic, retain) IBOutlet UITextField *userID_TextField;
@property(nonatomic, retain) IBOutlet UITextField *remoteKey_TextField;
@property(nonatomic, retain) IBOutlet UITextField *profileName_TextField;
@property(nonatomic, retain) NSMutableDictionary *userDictionary;
@property(nonatomic) NSInteger *indexToUpdate;
@property(nonatomic, retain) UITableView *settings_TableView;

/*** METHODS ***/
-(IBAction) updateProfile;

@end
